package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 正式员工管理
 */

@Getter
@Setter
public class Officialstu {
    private Long id;

    private String name;

    private Integer age;

    private boolean isMan = true;//性别 true 男  false 女

    private String tel;

    private String qqNum;

    private String email;

    private String school;//学校

    private Long schoolId;//大客户

    private Long educationId;//学历

    private String address;//地址

    private Long sourceId;//客户来源

    private Integer clientType = 0;//类型[0线上/1线下]

    private Integer workingYear;//工作年限

    private SystemDictionaryBill ittclass;//班级

    private Employee marketer;//营销人员

    private Long campusId;//校区

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date positiveTime;//转正时间

    private String idCard;//身份证号

    private String emergencyName;//紧急联系人

    private String emergencyTel;//紧急联系人电话

    private Long jobintentionId;//就业意向

    private Integer state;//状态,,,1在读 2转班中 3休学 4退学

    private SystemDictionaryBill payment;//支付方式

    private BigDecimal totalFee;//总学费

    private BigDecimal paidFee;//已交学费

    private BigDecimal noPay;//未交学费

    private Integer feeState = 0;//缴费状态[0未缴清1缴清]
}